package com.snake.springboot.custom.dao.mybatis.mappers.base;

import com.snake.springboot.custom.dao.mybatis.entity.base.CustMainAccountDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商户主账号
 * 类{@code CustMainAccountMapper} </br>
 * 创建时间：2025/02/08 09:36
 * @author yangxt
 * @see
 */
@Mapper
public interface CustMainAccountMapper {
    int insert(CustMainAccountDO record);

    int update(CustMainAccountDO record);

    int updatePassword(CustMainAccountDO accountDO);


    CustMainAccountDO queryById(String mainAccountId);

    CustMainAccountDO loginAccount(@Param("account") String account, @Param("password") String password);

    CustMainAccountDO queryByCustomId(String customId);

    CustMainAccountDO queryAcc(CustMainAccountDO accountDO);

    void updateAccName(CustMainAccountDO accountDO);

}